import 'package:freezed_annotation/freezed_annotation.dart';
import 'dart:convert';

part 'content_response.freezed.dart';
part 'content_response.g.dart';

@freezed
class ContentResponse with _$ContentResponse {
    const factory ContentResponse({
        @JsonKey(name: "c")
        required int c,
        @JsonKey(name: "m")
        required String m,
    }) = _ContentResponse;

    factory ContentResponse.fromJson(Map<String, dynamic> json) => _$ContentResponseFromJson(json);
}
